import Vue from "vue";
import Vuex from "vuex";
import getters from './getters';
import app from './modules/app';
import settings from './modules/settings';
import themeConfig from './modules/themeConfig';
import routesList from './modules/routesList';
import userInfos from './modules/userInfos';
import keepAliveNames from './modules/keepAliveNames';
import tagsViewRoutes from './modules/tagsViewRoutes';

Vue.use(Vuex);

export default new Vuex.Store({
  state: {},
  mutations: {},
  actions: {},
  modules: {
    app,
    settings,
    themeConfig,
    routesList,
    userInfos,
    keepAliveNames,
    tagsViewRoutes
  },
  getters
});